import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const Z_han_r: Array<RouteRecordRaw> = [
    {
        path: '/searcher',
        name: 'searcher',
        component: () => import('../components/mypage/mypage.vue'),
        children:[
            {
            path: '/searcher/disease',
            name: 'disease',
            component: ()=>import("../components/mymain/mymain.vue")	
            },
        {
          path: '/searcher/hospital',
          name: 'hospital',
          component: ()=>import("../components/mymain2/mymain2.vue")	
          }
        ]
      }
  //   {
  //     path: '/searcher/disease',
  //     name: 'disease',
  //     component: ()=>import("../components/mymain/mymain.vue")	
  //     },
  // {
  //   path: '/searcher/hospital',
  //   name: 'hospital',
  //   component: ()=>import("../components/mymain2/mymain2.vue")	
  //   }
]


export default Z_han_r
